package com.midian.model.device;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.midian.model.common.BaseModel;

import org.hibernate.annotations.Type;

import com.vividsolutions.jts.geom.Point;

/**
 * 设备号表
 * 
 */
@Entity
@Table(name = "device")
public class Device extends BaseModel {
	/**用户id*/
	private String userId;
	/**a：安卓，i：IOS*/
	private String frontType;
	/**IOS设备号*/
	private String deviceToken;
	/**更新时间*/
	private Date updateTime;
	/**1:接收2：不接受*/
	private Integer isReceive;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFrontType() {
		return frontType;
	}

	public void setFrontType(String frontType) {
		this.frontType = frontType;
	}

	public String getDeviceToken() {
		return deviceToken;
	}

	public void setDeviceToken(String deviceToken) {
		this.deviceToken = deviceToken;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsReceive() {
		return isReceive;
	}

	public void setIsReceive(Integer isReceive) {
		this.isReceive = isReceive;
	}
}
